package com.cssw.fyzb.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description:
 * @author: zzf
 * @time: 2020/12/23 10:22
 */
@ApiModel("角色修改")
@Data
public class UpdateRoleDto {

    @NotNull(message = "角色标识不能为空")
    @ApiModelProperty("角色标识")
    private Long roleId;

    @NotNull(message = "角色名称不能为空")
    @ApiModelProperty("角色名称")
    private String roleName;

    @NotNull(message = "角色说明不能为空")
    @ApiModelProperty("角色说明")
    private String roleDesc;
}
